#ifndef USER_LIST_H
#define USER_LIST_H

#include "myhead.h"

typedef struct UserNode
{
    char username[100];
    char password[100];
    char nickname[100];
    struct UserNode *next;
}UserNode;

UserNode *user_list_init(void);
void user_list_insert_tail(UserNode *head, char *input);
char *find_user(UserNode *head, char *username, const char *password);

#endif